Skip to content

fix(analytics): harden offline tracking delivery#1007

Merged
stephanj merged 2 commits intomasterfrom
feature/task-208-harden-analytics-offline
Apr 13, 2026
Merged

fix(analytics): harden offline tracking delivery#1007
stephanj merged 2 commits intomasterfrom
feature/task-208-harden-analytics-offline

Conversation

@stephanj
Copy link
Copy Markdown
Collaborator

Summary

  • Make analytics tracking fully fire-and-forget by catching setup, endpoint, and dispatch failures at the analytics boundary
  • Use async HTTP delivery in production so offline users do not block plugin flows
  • Add focused regression coverage for silent pre-send and network failure paths

Test plan

  • ./gradlew -q test --tests com.devoxx.genie.service.analytics.AnalyticsServiceTest
  • git diff --check

🤖 Generated with Codex CLI

stephanj and others added 2 commits April 13, 2026 14:42
Make analytics tracking fully fire-and-forget by catching setup and delivery failures at the analytics boundary and using async HTTP delivery in production.

Add regression coverage for state lookup, invalid endpoint, async network failure, and non-2xx response paths.

Co-Authored-By: OpenAI Codex CLI <noreply@openai.com>
Co-Authored-By: OpenAI Codex CLI <noreply@openai.com>
@stephanj stephanj merged commit 38acbf3 into master Apr 13, 2026
6 of 7 checks passed
@stephanj stephanj deleted the feature/task-208-harden-analytics-offline branch April 13, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant